<div class="block">
	<h3>Categories</h3>
	<?php if($this->getAllActiveCategories()): ?>
	<div class="block-content">
		<ul>
		<?php foreach($this->getAllActiveCategories() as $category):?>
			<li><a href="<?php echo Epic::getUrl('blog/article/list', array('category_id' => $category['category_id']))?>"><?php echo $category['name']?></a></li>
		<?php endforeach;?>
		</ul>
	</div>
	<?php else:?>
		<span style="color: blue;">You do not have any category yet!</span>
	<?php endif;?>
</div>